diff options
author | Mattias Andrée <maandree@kth.se> | 2017-11-23 21:50:57 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-11-23 21:50:57 +0100 |
commit | 5f15becca30a1ab7557851230a7e31d00aab9d8e (patch) | |
tree | 57d8f1fbae0e95a55763b21a6697b0017619da76 /paredit [disowned]/watch- | |
parent | Update sha3sum (diff) | |
download | aur-packages-5f15becca30a1ab7557851230a7e31d00aab9d8e.tar.gz aur-packages-5f15becca30a1ab7557851230a7e31d00aab9d8e.tar.bz2 aur-packages-5f15becca30a1ab7557851230a7e31d00aab9d8e.tar.xz |
Disown some packages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'paredit [disowned]/watch-')
-rwxr-xr-x | paredit [disowned]/watch- | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/paredit [disowned]/watch- b/paredit [disowned]/watch- new file mode 100755 index 0000000..71ad30d --- /dev/null +++ b/paredit [disowned]/watch- @@ -0,0 +1,21 @@ +#!/bin/sh + +[ -f paredit.release ] && rm paredit.release + +wget 'http://mumble.net/~campbell/emacs' -O paredit.release >/dev/null 2>/dev/null + +if [ $? = 0 ]; then + [ -f unfetchable ] && rm unfetchable + md5sum paredit.release > new-sum + touch sum + if [ "$(cat sum)" = "$(cat new-sum)" ]; then + rm new-sum + else + mv new-sum sum + echo 'paredit' + fi +elif [ ! -f unfetchable ]; then + touch unfetchable + echo 'paredit (unfetchable)' +fi + |